const Koa = require('koa');

const Router = require('koa-router');

const app = new Koa();

const router = new Router();

router.get('/', (ctx, next) => {
  ctx.body = ctx.query;
})

app.use(router.routes(), router.allowedMethods()).listen(3030, () => {
  console.log('router3');
})